package com.joinlabs.service.impl;

import java.math.BigDecimal;
import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.joinlabs.entity.Img;
import com.joinlabs.entity.Wares;
import com.joinlabs.mapper.ImgMapper;
import com.joinlabs.mapper.WaresMapper;
import com.joinlabs.service.IImgService;

@Service("ImgService")
public class ImgServiceImpl implements IImgService {

	@Resource
	private ImgMapper ImgMapper;
	

	public Img selectByPrimaryKey(int waresImgpath) {
		
		Img imgpath = ImgMapper.selectByPrimaryKey(new BigDecimal(waresImgpath));
		
		
		return imgpath;
	}

}
